Constant - a named value that cannot change during the execution of a program
Variable – a named value that can change during the execution of a program
case & if
CASE OF thisMark: > 75: grade <— “Distinction” topsStudents <— topStudents + 1 60 TO 74: grade <—“Merit” 40 TO 59: grade <—“Pass” OTHERWISE grade <—“Fail”ENDCASEloops
DECLARE Password : INTEGERREPEAT OUTPUT "Please enter the password" INPUT PasswordUNTIL Password = 123456
Procedure – a set of statements that can be grouped together and easily called in a program whenever required, rather than repeating all of the statements each time
Function – a set of statements that can be grouped together and easily called in a program whenever required, rather than repeating all of the statements each time. Unlike a procedure, a function always returns a value
Library routine – a tested and ready-to-use routine available in the development system of a programming language that can be incorporated into a program